home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
05 Programming
/
CDTC64.TXT
< prev
next >
Wrap
Text File
|
2019-04-13
|
2KB
|
63 lines
cdt.fix
Modifications to CDT for the C64 - 5/8/88
CDT (C Debugging Tool), by Alan Yorinks, is a program (found elsewhere in the
data libraries as CDT128.ARC) written with C-Power (Power C) and designed
to run under the shell. It provides several ML monitor-type functions useful
for debugging C programs. The program was written for and tested on the C128
only, although the author believed it could be used on the C64 as well. I have
now modified it and tested it on the C64; this document describes the minor
corrections required to allow CDT to run on the C64. The main purpose of these
changes is to omit the 'bank' option required on the C128. This option is
not used on the C64.
The following changes need to be made to the source files listed before
compiling:
dbug.h
------
The last line should read:
#define POKE(A,V) ...
--
instead of:
#define POKE(A) ...
cdt.c
-----
In the section with the switch clause, there are five statements with the
format:
if ( (argc - count) < ?)
where ? represents a number (2, 3, or 4). This number needs to be decreased by
one (to 1, 2, or 3) in each of the five statem